/**
 * User: ct/512799311@qq.com
 * Date: 2017/11/16 0016
 * Time: 上午 10:34
 *
 */

import jsonp from 'common/js/jsonp.js'
import {commonParams,options} from 'api/config.js'



export function getSingers() {
  const url = 'https://c.y.qq.com/v8/fcg-bin/v8.fcg';
  const data=Object.assign({},commonParams,{
    channel:"singer",
    page:"list",
    key:"all_all_all",
    pagesize:100,
    pagenum:1,
    loginUin:0,
    hostUin:0,
    platform:'yqq',
    needNewCode:0
  });
  //https://c.y.qq.com/musichall/fcgi-bin/fcg_yqqhomepagerecommend.fcg
  //https://c.y.qq.com/splcloud/fcgi-bin/p.fcg?g_tk=231506344&format=jsonp&jsonpCallback=jsonp1
  return jsonp(url,data,options)
}
